<script setup>
//1.获取路由对象 router userrouter
//const router = useRouter()
//2.获取路由参数 route useRoute
//const route = useRoute()
import { useRoute, useRouter } from 'vue-router'
const router = useRouter()
const route = useRoute()
</script>

<template>
  <div>我是app</div>
  <el-button type="primary">主要按钮</el-button>
  <testdemo></testdemo>
</template>

<style scoped>
</style>
